package nb.yan.controller.impl;

import nb.yan.controller.PraiseController;
import nb.yan.service.PraiseService;

public class PraiseControllerImpl implements PraiseController {

	private PraiseService praiseService;

	public PraiseControllerImpl(PraiseService praiseService) {
		super();
		this.praiseService = praiseService;
	}

	@Override
	public void praise(int dishId) {
		this.praiseService.praiseDish(dishId);
	}
	
}
